import React, { useState } from 'react'
import { CSSTransition } from 'react-transition-group'

import './home.less'

export default function Home() {
  const [isShow, setIsshow] = useState(true)
  return (
    <CSSTransition
      in={isShow}
      classNames="home-text"
      timeout={4000}
      appear
    >
      <div className="home">home</div>
    </CSSTransition>
  )
}